package com.qf.entity;

import com.alibaba.fastjson.annotation.JSONField;

import java.util.Date;

/**
 * 2019/10/9
 * Administrator
 * springboot1009
 * 面向对象面向君  不负代码不负卿
 */
public class Users {
    private Integer userid;
    private String username;
    @JSONField(format = "yyyy-MM-dd hh:mm:ss")
    private Date birthday;
    private Grade grade;

    public Grade getGrade() {
        return grade;
    }

    public void setGrade(Grade grade) {
        this.grade = grade;
    }

    public Users() {
    }

    public Users(Integer userid, String username, Date birthday) {
        this.userid = userid;
        this.username = username;
        this.birthday = birthday;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }
}
